html5 time input 24 hour format

114

html5 time input 24 hour format -

<label for="appt-time">Choose an appointment time0: </label>
<input id="appt-time" type="time" name="appt-time" value="00:00">

24 hour time input html -

<!DOCTYPE html>
<html>
  <head>
    <style>
      input {
        padding: 10px;
      }
    </style>
  </head>
  <body>
    <h1>Example</h1>
    <form action="/form/submit" method="post">
      <input type="week" name="week" min="2018-W1" max="2018-W52">
    </form>
  </body>
</html>

html5 time input 24 hour format -

<form>
  <label for="appt-time">Choose an appointment time: </label>
  <input id="appt-time" type="time" name="appt-time" step="2">
</form>

html5 time input 24 hour format -

<label for="appt-time">Choose an appointment time0: </label>
<input id="appt-time" type="time" name="appt-time" value="00:00">

Comments

Submit
0 Comments